
import {CART_ADD_ACTION} from "../actionTypes"
const initialState = {

}

export default (state = initialState, { type, payload }) => {
    switch (type) {
        case CART_ADD_ACTION:
            return {...state,...payload}
            break;
    
        default:
            return{...state}
    }
    
}
